package com.woniuxy.health.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.List;

@Data
public class GoodsTypeVO {
    private Integer id;
    private String typeName;
    private String typeDetail;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate createTime;
    private String subType;
    private List<GoodsTypeVO> GoodsList;
    private List<String> subTypes;
}
